﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for Insurer
/// </summary>
/// 
namespace CE.Provider
{
    public class Insurer
    {
        private int _preinsurerid;
        private string _companyname;
        private int _servicetype;
        private int _companytype;
        public Insurer()
        {
            //
            // TODO: Add constructor logic here
            //
            ClearFields();
        }

        public Int32 PreInsurerId
        {
            get { return _preinsurerid; }
            set { _preinsurerid = value; }
        }

        public string CompanyName
        {
            get { return _companyname; }
            set { _companyname = value; }
        }

        public Int32 ServiceType
        {
            get { return _servicetype; }
            set { _servicetype = value; }
        }

        public Int32 CompanyType
        {
            get { return _companytype; }
            set { _companytype = value; }
        }

        public void ClearFields()
        {
            _preinsurerid = 0;
            _companyname = "";
            _servicetype = 0;
            _companytype = 0;
        }
    }
}